<?php 
class Md_Settings extends WdkModel
{
	public function __construct()
	{
		parent::__construct();
		$this->_init();
	}
	
	private function _init()
	{
		$this->table	= 'settings';
		$this->order	= array("`settings_name` ASC");
	}
	
	/**
	 *	Select query for Classes..
	 *  @author	kinuz
	 *  @since	2011. 3. 25
	 */
	public function cLoad($settings_seq)
	{
		return $this->getData("*", "`settings_seq` = {$this->escape($settings_seq)}");
	}
	
	/**
	 *	Select query for Classes..
	 *  @author	kinuz
	 *  @since	2011. 3. 25
	 */
	public function cLoadByName($settings_name)
	{
		return $this->getData("*", "`settings_name` = '{$this->escape($settings_name)}'");
	}
}